package com.ruoyi.service.mapper;

import com.ruoyi.service.domain.ServiceOrderscombo;

import java.util.List;

/**
 * 订单服务套餐对应Mapper接口
 * 
 * @author ZDL
 * @date 2024-11-27
 */
public interface ServiceOrderscomboMapper 
{
    /**
     * 查询订单服务套餐对应
     * 
     * @param orderscomboId 订单服务套餐对应主键
     * @return 订单服务套餐对应
     */
    public ServiceOrderscombo selectServiceOrderscomboByOrderscomboId(Long orderscomboId);

    public List<ServiceOrderscombo> selectServiceOrderscomboByOrderId(Long orderId);
    public List<ServiceOrderscombo> selectByOrderIdAndComboId(ServiceOrderscombo serviceOrderscombo);
    public List<ServiceOrderscombo> selectByOrderIdAndComboIdNew(ServiceOrderscombo serviceOrderscombo);

    /**
     * 查询订单服务套餐对应列表
     * 
     * @param serviceOrderscombo 订单服务套餐对应
     * @return 订单服务套餐对应集合
     */
    public List<ServiceOrderscombo> selectServiceOrderscomboList(ServiceOrderscombo serviceOrderscombo);

    /**
     * 新增订单服务套餐对应
     * 
     * @param serviceOrderscombo 订单服务套餐对应
     * @return 结果
     */
    public int insertServiceOrderscombo(ServiceOrderscombo serviceOrderscombo);

    /**
     * 修改订单服务套餐对应
     * 
     * @param serviceOrderscombo 订单服务套餐对应
     * @return 结果
     */
    public int updateServiceOrderscombo(ServiceOrderscombo serviceOrderscombo);

    /**
     * 删除订单服务套餐对应
     * 
     * @param orderscomboId 订单服务套餐对应主键
     * @return 结果
     */
    public int deleteServiceOrderscomboByOrderscomboId(Long orderscomboId);

    /**
     * 批量删除订单服务套餐对应
     * 
     * @param orderscomboIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteServiceOrderscomboByOrderscomboIds(Long[] orderscomboIds);
}
